

kmpkg_from_gitee(
        OUT_SOURCE_PATH SOURCE_PATH
        REPO kumo-hub/libunwind
        REF v${VERSION}
        SHA512 33381d34953836eca8fea23a1f0babd4757898276b505c6828be21da1b585a035d14b849e4d13cf4fbe1998d77020b2646dc0d053f45f539079dd018f2c5653d
        HEAD_REF master
)



kmpkg_configure_make(
    SOURCE_PATH "${SOURCE_PATH}"
    AUTOCONFIG
    OPTIONS
        --disable-tests
)

kmpkg_install_make()
kmpkg_fixup_pkgconfig()


file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
kmpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
